package com.scwatch.ext.wowza;

public class wowzaCreate {

    /**
     * restURI : http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive
     * name : testlive
     * appType : Live
     * clientStreamReadAccess : *
     * clientStreamWriteAccess : *
     * description : A basic live application
     * streamConfig : {"restURI":"http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration","streamType":"live"}
     */

    private String restURI;
    private String name;
    private String appType;
    private String clientStreamReadAccess;
    private String clientStreamWriteAccess;
    private String description;
    private StreamConfigBean streamConfig;

    public String getRestURI() {
        return restURI;
    }

    public void setRestURI(String restURI) {
        this.restURI = restURI;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getClientStreamReadAccess() {
        return clientStreamReadAccess;
    }

    public void setClientStreamReadAccess(String clientStreamReadAccess) {
        this.clientStreamReadAccess = clientStreamReadAccess;
    }

    public String getClientStreamWriteAccess() {
        return clientStreamWriteAccess;
    }

    public void setClientStreamWriteAccess(String clientStreamWriteAccess) {
        this.clientStreamWriteAccess = clientStreamWriteAccess;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public StreamConfigBean getStreamConfig() {
        return streamConfig;
    }

    public void setStreamConfig(StreamConfigBean streamConfig) {
        this.streamConfig = streamConfig;
    }

    public static class StreamConfigBean {
        /**
         * restURI : http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration
         * streamType : live
         */

        private String restURI;
        private String streamType;

        private String[] liveStreamPacketizer ;

        public String[] getLiveStreamPacketizer() {
            return liveStreamPacketizer;
        }

        public void setLiveStreamPacketizer(String[] liveStreamPacketizer) {
            this.liveStreamPacketizer = liveStreamPacketizer;
        }

        public String getRestURI() {
            return restURI;
        }

        public void setRestURI(String restURI) {
            this.restURI = restURI;
        }

        public String getStreamType() {
            return streamType;
        }

        public void setStreamType(String streamType) {
            this.streamType = streamType;
        }
    }
}
